package com.realtyManage.springboot.Service.impl;

import com.realtyManage.springboot.Dao.CustomerRegistrationRepository;
import com.realtyManage.springboot.Dao.HouseDetailRepository;
import com.realtyManage.springboot.Dao.SystemLockRepository;
import com.realtyManage.springboot.Dao.UserRepository;
import com.realtyManage.springboot.Model.Do.HouseDetail;
import com.realtyManage.springboot.Model.Do.SystemLock;
import com.realtyManage.springboot.Model.Vo.HouseEntity;
import com.realtyManage.springboot.Model.Vo.UserTaskEntity;
import com.realtyManage.springboot.Service.IHouseDetailService;
import com.realtyManage.springboot.Service.ISpecialOfferHouseService;
import com.realtyManage.springboot.Service.IUserService;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.usermodel.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.persistence.criteria.Predicate;
import javax.servlet.http.HttpServletRequest;
import javax.transaction.Transactional;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

import static org.apache.poi.ss.usermodel.Cell.CELL_TYPE_STRING;

/**
 * @Author 杭州素色网络科技有限公司
 * @Date 2019/5/19
 **/
@Service
@Transactional
public class SystemLockServiceImpl {
    @Autowired
    private SystemLockRepository systemLockRepository;


    public SystemLock getShutDownTime() {
        return systemLockRepository.getShutDownTime();
    }
}
